package com.peanut.baby.mvp.follow;

import com.peanut.baby.model.User;
import com.peanut.baby.mvp.BasePresenter;
import com.peanut.baby.mvp.BaseView;

import java.util.List;

/**
 * Created by anonymouslystudio on 2017/8/7.
 */

public interface FollowFansContract {

    interface View extends BaseView{
        void onListGet(List<User> users);
        void onRequestFailed(String reason);
        void onChangeFollowStatusSucess(User user);
        void onChangeFollowStatusFailed(String reason);
    }

    interface Presenter extends BasePresenter{
        void getFollowList(String userId, int pageNo, int pageSize);
        void getFansList(String userId, int pageNo, int pageSize);
        void changeFollowStatus(User user);
    }
}
